package com.bobo.service;

import com.bobo.domain.Info;
import com.bobo.mapper.InfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
public class InfoServiceImpl implements  InfoService{
    @Autowired
    InfoMapper infoMapper;
    @Transactional
    @Override
    public int insert(Info info) {
        return infoMapper.insert(info);
    }
}
